package com.getui.java.advancedpushmessage;

import java.util.ArrayList;
import java.util.List;

import com.getui.java.COMM;
import com.gexin.rp.sdk.base.IPushResult;
import com.gexin.rp.sdk.http.IGtPush;

public class AddBlackCidListDemo {

	public static void testBlackCidList() {
		List<String> cidList = new ArrayList<String>();
		cidList.add(COMM.CID);
		IGtPush push = new IGtPush(COMM.appKey, COMM.masterSecret);
		IPushResult pushResult1 = push.addCidListToBlk(COMM.appId, cidList);
		System.out.println("黑名单增加结果：" + pushResult1.getResponse());
		// {result=success}
		// {result=invalidCidList}
	}

	public static void main(String[] args) {
		testBlackCidList();
	}
}